//
//  NSString+Timestamp.h
//  YBInsurance
//
//  Created by S2 on 6/28/16.
//  Copyright © 2016 YB. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Timestamp)

+ (NSString *)timestamp;

+ (NSString *)futureTimestamp;

+ (NSString *)timestampAtDate:(NSDate *)date;

- (NSString *)timeChangeToThirteen;

- (NSString *)timestampConvertToTen;

+ (NSString *)yb_stringDateForToday;

- (NSString *)yb_stringDateCompareWithStandardDate:(NSDate *)standardDate;

- (NSDate *)yb_stringDateConvertToDate;

- (NSString *)yb_stringDateConvertToYYYYMMdd;

- (NSString *)yb_stringDateConvertToYYYYMMddHH;

///时间戳转化为字符转0000-00-00 00:00:00

+ (NSString *)time_timestampToString:(NSInteger)timestamp;

@end
